#ifndef __CAN_H__
#define __CAN_H__

#include "stm32f10x.h"
#include "stm32f10x_can.h"

static void CAN_GPIO_Config(void);
static void CAN_NVIC_Config(void);
static void CAN_Mode_Config(void);
static void CAN_Filter_Config(void);
void CAN_Config(void);
void CAN_Send_Msg_Ex(uint32_t can_id, uint8_t *buf, uint8_t len);
void CAN_Send_Msg(uint32_t can_id, uint8_t *buf, uint8_t len);

#endif
